﻿@page
@model XZTZ.UMP.WEB.Pages.Flow.FlowTemplateStep.IndexModel

@{
    ViewData["Title"] = "Index";
}

<h1>Index</h1>

<p>
    <a asp-page="Create">Create New</a>
</p>
<table class="table">
    <thead>
        <tr>
            <th>
                @Html.DisplayNameFor(model => model.Flow_TemplateStep[0].intIndexNo)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Flow_TemplateStep[0].strStepName)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Flow_TemplateStep[0].strCheckType)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Flow_TemplateStep[0].intLimitDate)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Flow_TemplateStep[0].Base_SignatureStepType)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Flow_TemplateStep[0].Flow_StepRule)
            </th>
         
            <th>
                @Html.DisplayNameFor(model => model.Flow_TemplateStep[0].guidPreviousStep)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Flow_TemplateStep[0].guidNextStep)
            </th>
           
            <th></th>
        </tr>
    </thead>
    <tbody>
@foreach (var item in Model.Flow_TemplateStep) {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.intIndexNo)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.strStepName)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.strCheckType)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.intLimitDate)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Base_SignatureStepType.strStepTypeID)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Flow_StepRule.guidRuleID)
            </td>
           
            <td>
                @Html.DisplayFor(modelItem => item.guidPreviousStep)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.guidNextStep)
            </td>


            <td>
                <a asp-page="./Edit" asp-route-id="@item.guidFlowStepID">Edit</a> |
                <a asp-page="./Details" asp-route-id="@item.guidFlowStepID">Details</a> |
                <a asp-page="./Delete" asp-route-id="@item.guidFlowStepID">Delete</a>
            </td>
        </tr>
}
    </tbody>
</table>
